package com.baiku.sanhos.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

@Data
@Lazy
@Component
@TableName(value = "t_drug")
public class Drug {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String drugNo;
    private String drugName;
    private Integer inventory;
    private Double unitprice;
    private String unit;
    private int usage;
    private String remark;
    private String dosage;
    private String attention;
}
